﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;

/// <summary>
/// Summary description for Chitiet
/// </summary>
/// 
namespace SmartLib
{
   

        public class tbl_KetQuaTinhToan
        {
            private int _Id;
            private int _CongXaId;
            private int _DotGiamSatId;
            private double _LuuLuong;
            private int _ChiTieu;
            private double _NongDo;
            public string mIdOut = "";


            public bool _IdNULL = false;
            public bool _CongXaIdNULL = false;
            public bool _DotGiamSatIdNULL = false;
            public bool _LuuLuongNULL = true;
            public bool _ChiTieuNULL = true;
            public bool _NongDoNULL = true;


            public tbl_KetQuaTinhToan()
            {
            }


            public int mId
            {
                get { return _Id; }
                set
                {
                    _Id = value;
                    _IdNULL = false;
                }
            }
            public int mCongXaId
            {
                get { return _CongXaId; }
                set
                {
                    _CongXaId = value;
                    _CongXaIdNULL = false;
                }
            }
            public int mDotGiamSatId
            {
                get { return _DotGiamSatId; }
                set
                {
                    _DotGiamSatId = value;
                    _DotGiamSatIdNULL = false;
                }
            }
            public double mLuuLuong
            {
                get { return _LuuLuong; }
                set
                {
                    _LuuLuong = value;
                    _LuuLuongNULL = false;
                }
            }
            public int mChiTieu
            {
                get { return _ChiTieu; }
                set
                {
                    _ChiTieu = value;
                    _ChiTieuNULL = false;
                }
            }
            public double mNongDo
            {
                get { return _NongDo; }
                set
                {
                    _NongDo = value;
                    _NongDoNULL = false;
                }
            }
        }

        public class tbl_DM_CongXa
        {
            private int _Id;
            private string _Ten;
            private bool _ThuocKCN;
            private int _KCNId;
            private int _DoanhNghiepId;
            private int _X;
            private int _Y;
            private string _GhiChu;
            public string mIdOut = "";


            public bool _IdNULL = false;
            public bool _TenNULL = false;
            public bool _ThuocKCNNULL = false;
            public bool _KCNIdNULL = true;
            public bool _DoanhNghiepIdNULL = true;
            public bool _XNULL = true;
            public bool _YNULL = true;
            public bool _GhiChuNULL = true;


            public tbl_DM_CongXa()
            {
            }


            public int mId
            {
                get { return _Id; }
                set
                {
                    _Id = value;
                    _IdNULL = false;
                }
            }
            public string mTen
            {
                get { return _Ten; }
                set
                {
                    _Ten = value;
                    _TenNULL = false;
                }
            }
            public bool mThuocKCN
            {
                get { return _ThuocKCN; }
                set
                {
                    _ThuocKCN = value;
                    _ThuocKCNNULL = false;
                }
            }
            public int mKCNId
            {
                get { return _KCNId; }
                set
                {
                    _KCNId = value;
                    _KCNIdNULL = false;
                }
            }
            public int mDoanhNghiepId
            {
                get { return _DoanhNghiepId; }
                set
                {
                    _DoanhNghiepId = value;
                    _DoanhNghiepIdNULL = false;
                }
            }
            public int mX
            {
                get { return _X; }
                set
                {
                    _X = value;
                    _XNULL = false;
                }
            }
            public int mY
            {
                get { return _Y; }
                set
                {
                    _Y = value;
                    _YNULL = false;
                }
            }
            public string mGhiChu
            {
                get { return _GhiChu; }
                set
                {
                    _GhiChu = value;
                    _GhiChuNULL = false;
                }
            }
        }

    }
